﻿@model Node
@{
    Layout = null;
    var sites = new SiteService().GetMany(s => s.Enable);
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.PageTitle</title>
    <style>
    /*预置全局样式*/
    body,div,ul,li,h1,a{background:transparent;font-size:100%;margin:0;padding:0;border:0;outline:0;}
    body{color:#222;font-size:14px;line-height:1.42857143;font-family:"Microsoft YaHei"}
    a{color:#222;text-decoration:none;}
    a:hover{color:red;}
    ul,li{list-style:none;vertical-align:middle;}
    .check-list{width: 980px; margin:50px auto;}
    .hd{ margin-bottom:20px;}
    h1.title{ font-size:30px; line-height:1.75; text-align:center;}
    .notice { margin-top:20px; border:1px solid #eee; background-color:#f9f9f9; padding: 20px;}
    .bd{ margin-bottom:20px; overflow:hidden;}
    .site-list{margin: 0 -5px;padding: 0;}
    .site-list li{float:left; width:25%;font:normal 20px/400% Tahoma "微软雅黑";list-style:none;}
    .site-list li a{display:block;margin:7px; padding:5px 10px; font-size:16px; line-height:30px; text-align:center;border:#ccc solid 1px;overflow:hidden; border-radius: 4px; transition:all 0.25s ease 0s; white-space: nowrap; text-overflow: ellipsis;}
    .site-list li a:hover{background:#f6f3ec; border-color:#d6c6a0; box-shadow: 0 3px 6px rgba(0,0,0,.1) ;}
    .fd{ clear:both; border-top:1px solid #ddd; padding:20px 0; text-align:center;}
</style>
</head>
<body>

    <div class="check-list">
        <div class="hd">
            <h1 class="title">
                @ViewBag.PageTitle
                <script>var lastModified = document.lastModified;var lastDate = new Date(lastModified);var gy = lastDate.getFullYear();var gm = lastDate.getMonth()+1;var gd = lastDate.getDate();document.write("站群验收检测清单 - "+gy+"年"+gm+"月"+gd+"日")</script>
            </h1>
            <div class="notice"> <b>重要说明：</b>
                以下内容是网站最终实施内容，与合同上的需求分析文档栏目及要求是一一对应的，实施过程中有需求变动，请查看变更文档，若未定制相关功能模板，则需删除模板方案中的相关模板页面。
            </div>
        </div>
        <div class="bd">
            @if (sites.Any())
            {
            <ul class="site-list">
                @foreach (var site in sites)
             {
                <li>
                    <a href="@Power.Url.NodeUrl(Model.Identifier)_@site.SiteId" target="_blank">@site.SiteName</a>
                </li>
                }
            </ul>
            }
        </div>
    </div>
</body>
</html>